package com.ruoyi.retirement.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 首页菜单/一级分类对象 retirement_menu
 * 
 * @author 曹旭
 * @date 2025-09-01
 */
public class RetirementMenu extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 菜单名称 */
    @Excel(name = "菜单名称")
    private String name;

    /** 菜单图标 */
    @Excel(name = "菜单图标")
    private String image;

    /** 所属部门 */
    @Excel(name = "所属部门")
    private String dept;

    /** 菜单删除状态 1是 0否 */
    @Excel(name = "菜单删除状态 1是 0否")
    private String status;

    /** 菜单排序 */
    @Excel(name = "菜单排序")
    private String sort;

    /** 备用字段 */
    @Excel(name = "备用字段")
    private String menuFlag;

    /** 部门名称*/
    private String deptName;
    /** 部门数据权限 */
    private String deptId;

    /** 子分类列表 */
    private List<String> subCategories;

    public List<String> getSubCategories() {
        return subCategories;
    }

    public void setSubCategories(List<String> subCategories) {
        this.subCategories = subCategories;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }

    public void setDept(String dept) 
    {
        this.dept = dept;
    }

    public String getDept() 
    {
        return dept;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setSort(String sort) 
    {
        this.sort = sort;
    }

    public String getSort() 
    {
        return sort;
    }

    public void setMenuFlag(String menuFlag) 
    {
        this.menuFlag = menuFlag;
    }

    public String getMenuFlag() 
    {
        return menuFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("image", getImage())
            .append("dept", getDept())
            .append("status", getStatus())
            .append("sort", getSort())
            .append("menuFlag", getMenuFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
